#include <errno.h>
#define __LIBRARY__
#include <unistd.h>
#include <stdio.h>

_syscall1(int, iam, const char*, name);

/*
int iam(const char* name)
{
    long __res;
    __asm__volatile
    (
     "int $0x80"
    : "=a" (__res) 
    : "0" (__NR_iam),"b" ((long)(name));
    )
    if (__res >= 0) \
	return (int) __res; \
    errno = -__res; \
    return -1; \
}
*/



int main(int argc,char ** argv)
{
	iam(argv[1]);
	return 0;
}
